#pragma once

#include <QtWidgets/QWidget>
#include "ui_xplay.h"
#include "QTimer"
class xplay : public QWidget
{
    Q_OBJECT

public:
    xplay(QWidget *parent = Q_NULLPTR);
	void resizeEvent(QResizeEvent *event);
	void timerEvent(QTimerEvent *event);
	

private:
    Ui::xplayClass ui;
	bool isPressSlider = false;
public slots:
	void open();
	void play();
	void sliderPress();
	void sliderRelease();
 


};
